package router

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

type indexRouter struct {
}

func NewIndexRouter() *indexRouter {
	return &indexRouter{}
}

func (i *indexRouter) AddRouter(engine *gin.Engine) {
	engine.GET("/", func(c *gin.Context) {
		c.String(http.StatusOK, "Welcome Gin Server")
	})
}
